var mongoose = require('mongoose');
var mongoosePaginate =require('mongoose-paginate');
var Schema = mongoose.Schema;
var CollegeSchema = new Schema({
  'name' :String,
  'campus' :String
});

// 分页
CollegeSchema.plugin(mongoosePaginate);

module.exports = mongoose.model('college', CollegeSchema);